﻿using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Windows.Forms;

using AIthin.Neuro;

namespace AIthin.Model
{
    public partial class Temp : Form
    {
        public Network M = new Network(4, 24, 4);

        public Temp()
        {
            InitializeComponent();
        }

        private void btnTick_Click(object sender, EventArgs e)
        {
            
            double[] input = new double[24] { 1.0, 0.0, 2.0, 0.5, 0.0, 1.0, 1.0, 0.0, 0.0, 0.5, 0.0, 1.0, 1.0, 0.0, 0.0, 0.5, 0.0, 1.0, 1.0, 0.0, 0.0, 0.5, 0.0, 1.0 };
            double[] output = new double[4] { 1.0, 0.0, 0.0, 0.5 };
          
            M.Tick(ref input, ref output);
        }
    }
}
